package cn.echoedu.dao;

import java.sql.Connection;
import java.sql.SQLException;

import cn.echoedu.daoconstants.TableName;

public interface DAOUpdate {
  public abstract <T> boolean updateInfo(Connection con,TableName tableName,T oldPojo,
		  T currentPojo) throws SQLException;

public abstract boolean updateByColumn(Connection connection,
		String sql);
}
